/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package specifications;

import java.io.IOException;
import org.yaml.snakeyaml.constructor.Constructor;
import org.yaml.snakeyaml.representer.Representer;


/**
 *
 * @author Jason
 */
public interface YamlObject<T> {
    public static final Representer REPRESENTER = new GlobalRepresenter();
    public static final Constructor CONSTRUCTOR = new GlobalConstructor();
    
    public void dump(String filename) throws IOException ;
    public T load(String filename) throws IOException;
    
}
